//
//  WHRecord.h
//  RunningMan
//
//  Created by dllo on 16/5/26.
//  Copyright © 2016年 JohnnyB. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

@interface WHRecord : NSObject

- (NSString *)title;

- (NSString *)subTitle;

- (void)addLocation:(CLLocation *)location;

- (NSInteger)numOfLocations;

- (CLLocation *)startLocation;

- (CLLocation *)endLocation;

- (CLLocationCoordinate2D *)coordinates;

- (CLLocationDistance)totalDistance;

- (NSTimeInterval)totalDuration;


@end
